<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cutex: cutex::QxSqlQueryModel Klassenreferenz</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">cutex
   </div>
   <div id="projectbrief">cute Qt extensions</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Erzeugt von Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Suchen','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Suchen');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classcutex_1_1_qx_sql_query_model.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Öffentliche Methoden</a> &#124;
<a href="#pub-static-methods">Öffentliche, statische Methoden</a> &#124;
<a href="#pro-methods">Geschützte Methoden</a> &#124;
<a href="#pri-methods">Private Methoden</a> &#124;
<a href="#pri-attribs">Private Attribute</a> &#124;
<a href="classcutex_1_1_qx_sql_query_model-members.html">Aufstellung aller Elemente</a>  </div>
  <div class="headertitle">
<div class="title">cutex::QxSqlQueryModel Klassenreferenz</div>  </div>
</div><!--header-->
<div class="contents">

<p>Die Klasse QxSqlQueryModel ist eine Alternative zur Qt-Klasse QSqlQueryModel.  
 <a href="classcutex_1_1_qx_sql_query_model.html#details">Mehr ...</a></p>

<p><code>#include &lt;<a class="el" href="qxsqlquerymodel_8h_source.html">qxsqlquerymodel.h</a>&gt;</code></p>
<div class="dynheader">
Klassendiagramm für cutex::QxSqlQueryModel:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcutex_1_1_qx_sql_query_model.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Öffentliche Methoden</h2></td></tr>
<tr class="memitem:a3e32ff84bb7921263d37c0c417f5f3ce"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a3e32ff84bb7921263d37c0c417f5f3ce">QxSqlQueryModel</a> (QObject *parent=nullptr)</td></tr>
<tr class="separator:a3e32ff84bb7921263d37c0c417f5f3ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7028e86b1ffe2e9947f7b646c91aa8ca"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a7028e86b1ffe2e9947f7b646c91aa8ca">rowCount</a> (const QModelIndex &amp;parent=QModelIndex()) const</td></tr>
<tr class="separator:a7028e86b1ffe2e9947f7b646c91aa8ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c271dbf55195b07673563a77a60e121"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a8c271dbf55195b07673563a77a60e121">columnCount</a> (const QModelIndex &amp;parent=QModelIndex()) const</td></tr>
<tr class="separator:a8c271dbf55195b07673563a77a60e121"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a048e63b697b329d0f97324a307394260"><td class="memItemLeft" align="right" valign="top">virtual QVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a048e63b697b329d0f97324a307394260">headerData</a> (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const</td></tr>
<tr class="separator:a048e63b697b329d0f97324a307394260"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17e9495a29465a864673e32d94f1686b"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a17e9495a29465a864673e32d94f1686b">setHeaderData</a> (int section, Qt::Orientation orientation, const QVariant &amp;<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a492716b738841f59c7366e23ab60f1c8">value</a>, int role=Qt::EditRole)</td></tr>
<tr class="separator:a17e9495a29465a864673e32d94f1686b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad270348f9e7bec1c49aeecc5d599f79a"><td class="memItemLeft" align="right" valign="top">virtual QVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#ad270348f9e7bec1c49aeecc5d599f79a">data</a> (const QModelIndex &amp;index, int role=Qt::DisplayRole) const</td></tr>
<tr class="separator:ad270348f9e7bec1c49aeecc5d599f79a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a513a36c37805ea7ba007290064297f2b"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a513a36c37805ea7ba007290064297f2b">setData</a> (const QModelIndex &amp;index, const QVariant &amp;<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a492716b738841f59c7366e23ab60f1c8">value</a>, int role=Qt::EditRole)</td></tr>
<tr class="separator:a513a36c37805ea7ba007290064297f2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a583e066b6541d5df063b3307338ec713"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a583e066b6541d5df063b3307338ec713">clear</a> ()</td></tr>
<tr class="separator:a583e066b6541d5df063b3307338ec713"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84ddb01f86b69d6b8b321546b54a1fa7"><td class="memItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a84ddb01f86b69d6b8b321546b54a1fa7">lastError</a> () const</td></tr>
<tr class="separator:a84ddb01f86b69d6b8b321546b54a1fa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c6a913dfb77c1a3cb75df4d4f9f64dc"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a2c6a913dfb77c1a3cb75df4d4f9f64dc">setQuery</a> (QSqlQuery &amp;query)</td></tr>
<tr class="separator:a2c6a913dfb77c1a3cb75df4d4f9f64dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f7ad29f6833861f473512249a01a9f0"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a8f7ad29f6833861f473512249a01a9f0">setQuery</a> (const QString &amp;query)</td></tr>
<tr class="separator:a8f7ad29f6833861f473512249a01a9f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62754a856eb14861b17b420ef0317322"><td class="memItemLeft" align="right" valign="top">QSqlRecord&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a62754a856eb14861b17b420ef0317322">record</a> () const</td></tr>
<tr class="separator:a62754a856eb14861b17b420ef0317322"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f8777bb8149b012ab407fcd406522b4"><td class="memItemLeft" align="right" valign="top">QSqlRecord&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a7f8777bb8149b012ab407fcd406522b4">record</a> (int row) const</td></tr>
<tr class="separator:a7f8777bb8149b012ab407fcd406522b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c11cc052939d07505e12dbd965c50fd"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a7c11cc052939d07505e12dbd965c50fd">setRecord</a> (int row, const QSqlRecord &amp;values)</td></tr>
<tr class="separator:a7c11cc052939d07505e12dbd965c50fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9385d814bf40aef7787a303656cd9e91"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a9385d814bf40aef7787a303656cd9e91">insertRecord</a> (int row, const QSqlRecord &amp;<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a62754a856eb14861b17b420ef0317322">record</a>)</td></tr>
<tr class="separator:a9385d814bf40aef7787a303656cd9e91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fd11dc942c7ded4739d109480a66488"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a3fd11dc942c7ded4739d109480a66488">appendRecord</a> (const QSqlRecord &amp;<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a62754a856eb14861b17b420ef0317322">record</a>)</td></tr>
<tr class="separator:a3fd11dc942c7ded4739d109480a66488"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa177bcb90c476230c0717f6bcfb74dd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#aaa177bcb90c476230c0717f6bcfb74dd">appendRecords</a> (const QVector&lt; QSqlRecord &gt; &amp;records)</td></tr>
<tr class="separator:aaa177bcb90c476230c0717f6bcfb74dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcf7fb366b8b5bdb5a9f2ec07d6d55d0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#adcf7fb366b8b5bdb5a9f2ec07d6d55d0">removeRecord</a> (int row)</td></tr>
<tr class="separator:adcf7fb366b8b5bdb5a9f2ec07d6d55d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8b195b0cba646ab22a73351f6c3aa2e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#af8b195b0cba646ab22a73351f6c3aa2e">removeRecords</a> (QVector&lt; int &gt; rows)</td></tr>
<tr class="separator:af8b195b0cba646ab22a73351f6c3aa2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a492716b738841f59c7366e23ab60f1c8"><td class="memItemLeft" align="right" valign="top">QVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a492716b738841f59c7366e23ab60f1c8">value</a> (int row, int column) const</td></tr>
<tr class="separator:a492716b738841f59c7366e23ab60f1c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f0a4588667e5844412e839fa30d1b11"><td class="memItemLeft" align="right" valign="top">QVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a2f0a4588667e5844412e839fa30d1b11">value</a> (int row, const QString &amp;column) const</td></tr>
<tr class="separator:a2f0a4588667e5844412e839fa30d1b11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7a646981b3aa73f17db5d54121e6362"><td class="memItemLeft" align="right" valign="top">QVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#ad7a646981b3aa73f17db5d54121e6362">value</a> (const QModelIndex &amp;index) const</td></tr>
<tr class="separator:ad7a646981b3aa73f17db5d54121e6362"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1e1633d6cea9f843713886dc38b19c7"><td class="memItemLeft" align="right" valign="top">QVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#ac1e1633d6cea9f843713886dc38b19c7">relationValue</a> (int row, int column) const</td></tr>
<tr class="separator:ac1e1633d6cea9f843713886dc38b19c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a17e4af971672c9166a45643ba1ee94"><td class="memItemLeft" align="right" valign="top">QVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a8a17e4af971672c9166a45643ba1ee94">relationValue</a> (int row, const QString &amp;column) const</td></tr>
<tr class="separator:a8a17e4af971672c9166a45643ba1ee94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3c885ce42baad4a1015b3a54ae7a628"><td class="memItemLeft" align="right" valign="top">QVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#ab3c885ce42baad4a1015b3a54ae7a628">relationValue</a> (const QModelIndex &amp;index) const</td></tr>
<tr class="separator:ab3c885ce42baad4a1015b3a54ae7a628"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa699fb68d62b74d2fc29856901b2e73b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#aa699fb68d62b74d2fc29856901b2e73b">setRelationValue</a> (int row, int column, const QVariant &amp;<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a492716b738841f59c7366e23ab60f1c8">value</a>)</td></tr>
<tr class="separator:aa699fb68d62b74d2fc29856901b2e73b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ace5ac8defb27d712f28b45f8de6bb6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a5ace5ac8defb27d712f28b45f8de6bb6">setRelationValue</a> (int row, const QString &amp;column, const QVariant &amp;<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a492716b738841f59c7366e23ab60f1c8">value</a>)</td></tr>
<tr class="separator:a5ace5ac8defb27d712f28b45f8de6bb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae562a0657cad4752b534ff6e9c7544c4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#ae562a0657cad4752b534ff6e9c7544c4">setRelationValue</a> (const QModelIndex &amp;index, const QVariant &amp;<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a492716b738841f59c7366e23ab60f1c8">value</a>)</td></tr>
<tr class="separator:ae562a0657cad4752b534ff6e9c7544c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada435ca8c996bb220bfe8f28ed28ae13"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:ada435ca8c996bb220bfe8f28ed28ae13"><td class="memTemplItemLeft" align="right" valign="top">QList&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#ada435ca8c996bb220bfe8f28ed28ae13">columnValues</a> (int column=0) const</td></tr>
<tr class="separator:ada435ca8c996bb220bfe8f28ed28ae13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a593fed9ba078da4e899232d0fbd46e6c"><td class="memItemLeft" align="right" valign="top">QModelIndexList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a593fed9ba078da4e899232d0fbd46e6c">find</a> (int column, const QVariant &amp;<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a492716b738841f59c7366e23ab60f1c8">value</a>) const</td></tr>
<tr class="separator:a593fed9ba078da4e899232d0fbd46e6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a127e5869da54717a80beca325d8fa6d6"><td class="memItemLeft" align="right" valign="top">QModelIndexList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a127e5869da54717a80beca325d8fa6d6">find</a> (const QString &amp;column, const QVariant &amp;<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a492716b738841f59c7366e23ab60f1c8">value</a>) const</td></tr>
<tr class="separator:a127e5869da54717a80beca325d8fa6d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f1a97fad465d91fbbb68d879b8caa3d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a6f1a97fad465d91fbbb68d879b8caa3d">setColumnCaption</a> (int column, const QString &amp;caption, Qt::AlignmentFlag alignment=Qt::AlignLeft)</td></tr>
<tr class="separator:a6f1a97fad465d91fbbb68d879b8caa3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69f1366ead81894f07053981ad142022"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a69f1366ead81894f07053981ad142022">setColumnCaption</a> (const QString &amp;column, const QString &amp;caption, Qt::AlignmentFlag alignment=Qt::AlignLeft)</td></tr>
<tr class="separator:a69f1366ead81894f07053981ad142022"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1473c1dac27dfa7a47a23775e4641e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#ae1473c1dac27dfa7a47a23775e4641e0">setColumnAlignment</a> (int column, Qt::AlignmentFlag alignment)</td></tr>
<tr class="separator:ae1473c1dac27dfa7a47a23775e4641e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e36e41fab0a737334e8cf887a3872db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a8e36e41fab0a737334e8cf887a3872db">setColumnAlignment</a> (const QString &amp;column, Qt::AlignmentFlag alignment)</td></tr>
<tr class="separator:a8e36e41fab0a737334e8cf887a3872db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a229795f1302a21d3d0d3cd645a176d59"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a229795f1302a21d3d0d3cd645a176d59">setColumnType</a> (int column, QVariant::Type type, const QString &amp;format=QString())</td></tr>
<tr class="separator:a229795f1302a21d3d0d3cd645a176d59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34f4b434c5944357697a1daeb16cee21"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a34f4b434c5944357697a1daeb16cee21">setColumnType</a> (const QString &amp;column, QVariant::Type type, const QString &amp;format=QString())</td></tr>
<tr class="separator:a34f4b434c5944357697a1daeb16cee21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb04e229b435597422b46a9f61fe7a53"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#adb04e229b435597422b46a9f61fe7a53">setSqlRelation</a> (int column, const QSqlRelation &amp;sqlRelation)</td></tr>
<tr class="separator:adb04e229b435597422b46a9f61fe7a53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae6f2175ec3c67743ab67c474e75f723"><td class="memItemLeft" align="right" valign="top">QCompleter *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#aae6f2175ec3c67743ab67c474e75f723">createCompleter</a> (int column=0, QObject *parent=nullptr)</td></tr>
<tr class="separator:aae6f2175ec3c67743ab67c474e75f723"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Öffentliche, statische Methoden</h2></td></tr>
<tr class="memitem:abb154934a2ece77a40a84661301b51c9"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:abb154934a2ece77a40a84661301b51c9"><td class="memTemplItemLeft" align="right" valign="top">static QList&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#abb154934a2ece77a40a84661301b51c9">columnValues</a> (QSqlQuery query, int column=0)</td></tr>
<tr class="separator:abb154934a2ece77a40a84661301b51c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f78b9e7a55915df73a4846a9227d233"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a3f78b9e7a55915df73a4846a9227d233"><td class="memTemplItemLeft" align="right" valign="top">static QList&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a3f78b9e7a55915df73a4846a9227d233">columnValues</a> (const QString &amp;query, int column=0)</td></tr>
<tr class="separator:a3f78b9e7a55915df73a4846a9227d233"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ddc2563a3920e75366ffa923f09d4df"><td class="memItemLeft" align="right" valign="top">static QCompleter *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a7ddc2563a3920e75366ffa923f09d4df">createCompleter</a> (QSqlQuery query, int column=0, QObject *parent=nullptr)</td></tr>
<tr class="separator:a7ddc2563a3920e75366ffa923f09d4df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab968d8ef6f403b9a6d86829ef26b8b01"><td class="memItemLeft" align="right" valign="top">static QCompleter *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#ab968d8ef6f403b9a6d86829ef26b8b01">createCompleter</a> (const QString &amp;query, int column=0, QObject *parent=nullptr)</td></tr>
<tr class="separator:ab968d8ef6f403b9a6d86829ef26b8b01"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Geschützte Methoden</h2></td></tr>
<tr class="memitem:ae7f08bf3290aeac8608196a504f8c034"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_sql_query_model.html#ae7f08bf3290aeac8608196a504f8c034">columnIndex</a> (const QString &amp;caption)</td></tr>
<tr class="separator:ae7f08bf3290aeac8608196a504f8c034"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Methoden</h2></td></tr>
<tr class="memitem:ac23bd249e2ec6cdf96fda0a8862f1f85"><td class="memItemLeft" align="right" valign="top"><a id="ac23bd249e2ec6cdf96fda0a8862f1f85"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>selectSqlRelation</b> (<a class="el" href="classcutex_1_1_qx_sql_record.html">QxSqlRecord</a> *<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a62754a856eb14861b17b420ef0317322">record</a>, int column, const QSqlRelation &amp;sqlRelation)</td></tr>
<tr class="separator:ac23bd249e2ec6cdf96fda0a8862f1f85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57dd6087c914f6992f3429d94c0e9554"><td class="memItemLeft" align="right" valign="top"><a id="a57dd6087c914f6992f3429d94c0e9554"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>selectSqlRelation</b> (int column)</td></tr>
<tr class="separator:a57dd6087c914f6992f3429d94c0e9554"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45e4807e0eef5419dc7e1fe9908fd13a"><td class="memItemLeft" align="right" valign="top"><a id="a45e4807e0eef5419dc7e1fe9908fd13a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>selectSqlRelations</b> (<a class="el" href="classcutex_1_1_qx_sql_record.html">QxSqlRecord</a> *<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a62754a856eb14861b17b420ef0317322">record</a>)</td></tr>
<tr class="separator:a45e4807e0eef5419dc7e1fe9908fd13a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a645ab70dc06a78730a2ed9c63ec8e0c4"><td class="memItemLeft" align="right" valign="top"><a id="a645ab70dc06a78730a2ed9c63ec8e0c4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>selectSqlRelations</b> ()</td></tr>
<tr class="separator:a645ab70dc06a78730a2ed9c63ec8e0c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attribute</h2></td></tr>
<tr class="memitem:ab22d2598aa3b298e92770887d37595b1"><td class="memItemLeft" align="right" valign="top"><a id="ab22d2598aa3b298e92770887d37595b1"></a>
QVector&lt; <a class="el" href="classcutex_1_1_qx_sql_record.html">QxSqlRecord</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_data</b></td></tr>
<tr class="separator:ab22d2598aa3b298e92770887d37595b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a915d908737db92ec14f2b9e2ce3d50da"><td class="memItemLeft" align="right" valign="top"><a id="a915d908737db92ec14f2b9e2ce3d50da"></a>
QMap&lt; int, QSqlRelation &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_sqlRelations</b></td></tr>
<tr class="separator:a915d908737db92ec14f2b9e2ce3d50da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb68fbce5f099f88c5dc45c7cb6a42fb"><td class="memItemLeft" align="right" valign="top"><a id="aeb68fbce5f099f88c5dc45c7cb6a42fb"></a>
QSqlRecord&#160;</td><td class="memItemRight" valign="bottom"><b>m_dummy</b></td></tr>
<tr class="separator:aeb68fbce5f099f88c5dc45c7cb6a42fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af865af43bf9a38028652fb503736a122"><td class="memItemLeft" align="right" valign="top"><a id="af865af43bf9a38028652fb503736a122"></a>
QVector&lt; ColumnInfo * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_columns</b></td></tr>
<tr class="separator:af865af43bf9a38028652fb503736a122"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bc9e26970524d3a3fd39a550df2e79c"><td class="memItemLeft" align="right" valign="top"><a id="a5bc9e26970524d3a3fd39a550df2e79c"></a>
QSqlError&#160;</td><td class="memItemRight" valign="bottom"><b>m_error</b></td></tr>
<tr class="separator:a5bc9e26970524d3a3fd39a550df2e79c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Ausführliche Beschreibung</h2>
<div class="textblock"><p>Die Klasse QxSqlQueryModel ist eine Alternative zur Qt-Klasse QSqlQueryModel. </p>
<p>Die Klasse ist nicht von der Qt-Klasse QSqlQueryModel abgeleitet, stellt weitestgehend aber dieselben Schnittstellen bereit. Im Gegensatz zu QSqlQueryModel (welches ein reines Read-Only-Model ist) stellt QxSqlQueryModel zusätzliche Methoden zum Einfügen, Ändern und Löschen von Datensätzen zur Verfügung. </p>
</div><h2 class="groupheader">Beschreibung der Konstruktoren und Destruktoren</h2>
<a id="a3e32ff84bb7921263d37c0c417f5f3ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e32ff84bb7921263d37c0c417f5f3ce">&#9670;&nbsp;</a></span>QxSqlQueryModel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QxSqlQueryModel::QxSqlQueryModel </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Erzeugt eine neue Instanz mit dem Elternobjekt <em>parent</em>. </p>

</div>
</div>
<h2 class="groupheader">Dokumentation der Elementfunktionen</h2>
<a id="a3fd11dc942c7ded4739d109480a66488"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fd11dc942c7ded4739d109480a66488">&#9670;&nbsp;</a></span>appendRecord()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QxSqlQueryModel::appendRecord </td>
          <td>(</td>
          <td class="paramtype">const QSqlRecord &amp;&#160;</td>
          <td class="paramname"><em>record</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Fügt einen neuen Datensatz mit den Werten <em>record</em> hinzu. Die Änderungen werden dabei nicht in die Datenbank geschrieben (für die Aktualisierung der Datenbank ist der Aufrufer verantwortlich).</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a9385d814bf40aef7787a303656cd9e91">insertRecord(int row, const QSqlRecord &amp;record)</a> </dd>
<dd>
<a class="el" href="classcutex_1_1_qx_sql_query_model.html#aaa177bcb90c476230c0717f6bcfb74dd">appendRecords(const QVector&lt;QSqlRecord&gt; &amp;records)</a> </dd></dl>

</div>
</div>
<a id="aaa177bcb90c476230c0717f6bcfb74dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa177bcb90c476230c0717f6bcfb74dd">&#9670;&nbsp;</a></span>appendRecords()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QxSqlQueryModel::appendRecords </td>
          <td>(</td>
          <td class="paramtype">const QVector&lt; QSqlRecord &gt; &amp;&#160;</td>
          <td class="paramname"><em>records</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Fügt neue Datensätze mit den Werten <em>records</em> hinzu. Die Änderungen werden dabei nicht in die Datenbank geschrieben (für die Aktualisierung der Datenbank ist der Aufrufer verantwortlich).</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a3fd11dc942c7ded4739d109480a66488">appendRecord(const QSqlRecord &amp;record)</a> </dd></dl>

</div>
</div>
<a id="a583e066b6541d5df063b3307338ec713"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a583e066b6541d5df063b3307338ec713">&#9670;&nbsp;</a></span>clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxSqlQueryModel::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Setzt alle Daten des Models zurück. </p>

</div>
</div>
<a id="a8c271dbf55195b07673563a77a60e121"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c271dbf55195b07673563a77a60e121">&#9670;&nbsp;</a></span>columnCount()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int QxSqlQueryModel::columnCount </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code>QModelIndex()</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Gibt die Anzahl der Spalten zurück. </p>

</div>
</div>
<a id="ae7f08bf3290aeac8608196a504f8c034"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7f08bf3290aeac8608196a504f8c034">&#9670;&nbsp;</a></span>columnIndex()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int QxSqlQueryModel::columnIndex </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>caption</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Gibt den Index der Spalte mit dem Spaltentitel <em>caption</em> zurück. </p>

</div>
</div>
<a id="a3f78b9e7a55915df73a4846a9227d233"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f78b9e7a55915df73a4846a9227d233">&#9670;&nbsp;</a></span>columnValues() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QxSqlQueryModel::columnValues </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>query</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Führt die in <em>query</em> angegebene Abfrage aus und gibt alle Werte der Spalte <em>column</em> in einer Liste zurück. </p>

</div>
</div>
<a id="ada435ca8c996bb220bfe8f28ed28ae13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada435ca8c996bb220bfe8f28ed28ae13">&#9670;&nbsp;</a></span>columnValues() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QxSqlQueryModel::columnValues </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em> = <code>0</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Gibt alle Werte der Spalte <em>column</em> in einer Liste zurück. </p>

</div>
</div>
<a id="abb154934a2ece77a40a84661301b51c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb154934a2ece77a40a84661301b51c9">&#9670;&nbsp;</a></span>columnValues() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QxSqlQueryModel::columnValues </td>
          <td>(</td>
          <td class="paramtype">QSqlQuery&#160;</td>
          <td class="paramname"><em>query</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Führt die in <em>query</em> angegebene Abfrage aus und gibt alle Werte der Spalte <em>column</em> in einer Liste zurück. </p>

</div>
</div>
<a id="ab968d8ef6f403b9a6d86829ef26b8b01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab968d8ef6f403b9a6d86829ef26b8b01">&#9670;&nbsp;</a></span>createCompleter() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QCompleter * QxSqlQueryModel::createCompleter </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>query</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Führt die in <em>query</em> angegebene Abfrage aus und erzeugt einen Completer aus den Werten der Spalte <em>column</em>. </p>

</div>
</div>
<a id="aae6f2175ec3c67743ab67c474e75f723"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae6f2175ec3c67743ab67c474e75f723">&#9670;&nbsp;</a></span>createCompleter() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QCompleter * QxSqlQueryModel::createCompleter </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Erzeugt einen Completer aus den Werten der Spalte <em>column</em>. </p>

</div>
</div>
<a id="a7ddc2563a3920e75366ffa923f09d4df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ddc2563a3920e75366ffa923f09d4df">&#9670;&nbsp;</a></span>createCompleter() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QCompleter * QxSqlQueryModel::createCompleter </td>
          <td>(</td>
          <td class="paramtype">QSqlQuery&#160;</td>
          <td class="paramname"><em>query</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Führt die in <em>query</em> angegebene Abfrage aus und erzeugt einen Completer aus den Werten der Spalte <em>column</em>. </p>

</div>
</div>
<a id="ad270348f9e7bec1c49aeecc5d599f79a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad270348f9e7bec1c49aeecc5d599f79a">&#9670;&nbsp;</a></span>data()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QVariant QxSqlQueryModel::data </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em> = <code>Qt::DisplayRole</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Gibt die Daten zur Zelle <em>index</em> und der Rolle <em>role</em> zurück. </p>

</div>
</div>
<a id="a127e5869da54717a80beca325d8fa6d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a127e5869da54717a80beca325d8fa6d6">&#9670;&nbsp;</a></span>find() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QModelIndexList QxSqlQueryModel::find </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sucht in der Spalte <em>column</em> nach dem Wert <em>value</em> und gibt eine Liste der übereinstimmenden Indizes zurück.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a593fed9ba078da4e899232d0fbd46e6c">find(int column, const QVariant &amp;value) const</a> </dd></dl>

</div>
</div>
<a id="a593fed9ba078da4e899232d0fbd46e6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a593fed9ba078da4e899232d0fbd46e6c">&#9670;&nbsp;</a></span>find() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QModelIndexList QxSqlQueryModel::find </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sucht in der Spalte <em>column</em> nach dem Wert <em>value</em> und gibt eine Liste der übereinstimmenden Indizes zurück.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a127e5869da54717a80beca325d8fa6d6">find(const QString &amp;column, const QVariant &amp;value) const</a> </dd></dl>

</div>
</div>
<a id="a048e63b697b329d0f97324a307394260"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a048e63b697b329d0f97324a307394260">&#9670;&nbsp;</a></span>headerData()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QVariant QxSqlQueryModel::headerData </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>section</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Qt::Orientation&#160;</td>
          <td class="paramname"><em>orientation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em> = <code>Qt::DisplayRole</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Gibt die Kopfdaten zur Spalte <em>section</em> und der Rolle <em>role</em> zurück. </p>

</div>
</div>
<a id="a9385d814bf40aef7787a303656cd9e91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9385d814bf40aef7787a303656cd9e91">&#9670;&nbsp;</a></span>insertRecord()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QxSqlQueryModel::insertRecord </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QSqlRecord &amp;&#160;</td>
          <td class="paramname"><em>record</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Fügt an Position <em>row</em> einen neuen Datensatz mit den Werten <em>record</em> ein. Die Änderungen werden dabei nicht in die Datenbank geschrieben (für die Aktualisierung der Datenbank ist der Aufrufer verantwortlich).</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a3fd11dc942c7ded4739d109480a66488">appendRecord(const QSqlRecord &amp;record)</a> </dd></dl>

</div>
</div>
<a id="a84ddb01f86b69d6b8b321546b54a1fa7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84ddb01f86b69d6b8b321546b54a1fa7">&#9670;&nbsp;</a></span>lastError()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSqlError QxSqlQueryModel::lastError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt den zuletzt aufgetretenen Fehler zurück.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a8f7ad29f6833861f473512249a01a9f0">setQuery(const QString &amp;query)</a> </dd></dl>

</div>
</div>
<a id="a62754a856eb14861b17b420ef0317322"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62754a856eb14861b17b420ef0317322">&#9670;&nbsp;</a></span>record() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSqlRecord QxSqlQueryModel::record </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt einen leeren Datensatz zurück. </p>

</div>
</div>
<a id="a7f8777bb8149b012ab407fcd406522b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f8777bb8149b012ab407fcd406522b4">&#9670;&nbsp;</a></span>record() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSqlRecord QxSqlQueryModel::record </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt den Datensatz an Position <em>row</em> zurück. </p>

</div>
</div>
<a id="ab3c885ce42baad4a1015b3a54ae7a628"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3c885ce42baad4a1015b3a54ae7a628">&#9670;&nbsp;</a></span>relationValue() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVariant QxSqlQueryModel::relationValue </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt den Relationswert für die Zelle <em>index</em> zurück.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#ac1e1633d6cea9f843713886dc38b19c7">relationValue(int row, int column) const</a> </dd>
<dd>
<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a8a17e4af971672c9166a45643ba1ee94">relationValue(int row, const QString &amp;column) const</a> </dd></dl>

</div>
</div>
<a id="a8a17e4af971672c9166a45643ba1ee94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a17e4af971672c9166a45643ba1ee94">&#9670;&nbsp;</a></span>relationValue() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVariant QxSqlQueryModel::relationValue </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>column</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt den Relationswert in Zeile <em>row</em> und Spalte <em>column</em> zurück.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#ac1e1633d6cea9f843713886dc38b19c7">relationValue(int row, int column) const</a> </dd>
<dd>
<a class="el" href="classcutex_1_1_qx_sql_query_model.html#ab3c885ce42baad4a1015b3a54ae7a628">relationValue(const QModelIndex &amp;index) const</a> </dd></dl>

</div>
</div>
<a id="ac1e1633d6cea9f843713886dc38b19c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1e1633d6cea9f843713886dc38b19c7">&#9670;&nbsp;</a></span>relationValue() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVariant QxSqlQueryModel::relationValue </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt den Relationswert in Zeile <em>row</em> und Spalte <em>column</em> zurück.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a8a17e4af971672c9166a45643ba1ee94">relationValue(int row, const QString &amp;column) const</a> </dd>
<dd>
<a class="el" href="classcutex_1_1_qx_sql_query_model.html#ab3c885ce42baad4a1015b3a54ae7a628">relationValue(const QModelIndex &amp;index) const</a> </dd></dl>

</div>
</div>
<a id="adcf7fb366b8b5bdb5a9f2ec07d6d55d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcf7fb366b8b5bdb5a9f2ec07d6d55d0">&#9670;&nbsp;</a></span>removeRecord()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QxSqlQueryModel::removeRecord </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Entfernt den Datensatz an Position <em>row</em>. Die Änderungen werden dabei nicht in die Datenbank geschrieben (für die Aktualisierung der Datenbank ist der Aufrufer verantwortlich).</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#af8b195b0cba646ab22a73351f6c3aa2e">removeRecords(QVector&lt;int&gt; rows)</a> </dd></dl>

</div>
</div>
<a id="af8b195b0cba646ab22a73351f6c3aa2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8b195b0cba646ab22a73351f6c3aa2e">&#9670;&nbsp;</a></span>removeRecords()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QxSqlQueryModel::removeRecords </td>
          <td>(</td>
          <td class="paramtype">QVector&lt; int &gt;&#160;</td>
          <td class="paramname"><em>rows</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Entfernt die Datensätze an den Positionen <em>rows</em>. Die Änderungen werden dabei nicht in die Datenbank geschrieben (für die Aktualisierung der Datenbank ist der Aufrufer verantwortlich).</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#adcf7fb366b8b5bdb5a9f2ec07d6d55d0">removeRecord(int row)</a> </dd></dl>

</div>
</div>
<a id="a7028e86b1ffe2e9947f7b646c91aa8ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7028e86b1ffe2e9947f7b646c91aa8ca">&#9670;&nbsp;</a></span>rowCount()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int QxSqlQueryModel::rowCount </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code>QModelIndex()</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Gibt die Anzahl der Datensätze zurück. </p>

</div>
</div>
<a id="a8e36e41fab0a737334e8cf887a3872db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e36e41fab0a737334e8cf887a3872db">&#9670;&nbsp;</a></span>setColumnAlignment() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxSqlQueryModel::setColumnAlignment </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Qt::AlignmentFlag&#160;</td>
          <td class="paramname"><em>alignment</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Setzt die Ausrichtung der Spalte <em>column</em> auf den Wert <em>alignment</em>. </p>

</div>
</div>
<a id="ae1473c1dac27dfa7a47a23775e4641e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1473c1dac27dfa7a47a23775e4641e0">&#9670;&nbsp;</a></span>setColumnAlignment() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxSqlQueryModel::setColumnAlignment </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Qt::AlignmentFlag&#160;</td>
          <td class="paramname"><em>alignment</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Setzt die Ausrichtung der Spalte <em>column</em> auf den Wert <em>alignment</em>. </p>

</div>
</div>
<a id="a69f1366ead81894f07053981ad142022"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69f1366ead81894f07053981ad142022">&#9670;&nbsp;</a></span>setColumnCaption() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxSqlQueryModel::setColumnCaption </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>caption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Qt::AlignmentFlag&#160;</td>
          <td class="paramname"><em>alignment</em> = <code>Qt::AlignLeft</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Setzt den Spaltentitel der Spalte <em>column</em> auf den Wert <em>caption</em>. </p>

</div>
</div>
<a id="a6f1a97fad465d91fbbb68d879b8caa3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f1a97fad465d91fbbb68d879b8caa3d">&#9670;&nbsp;</a></span>setColumnCaption() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxSqlQueryModel::setColumnCaption </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>caption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Qt::AlignmentFlag&#160;</td>
          <td class="paramname"><em>alignment</em> = <code>Qt::AlignLeft</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Setzt den Spaltentitel der Spalte <em>column</em> auf den Wert <em>caption</em>. </p>

</div>
</div>
<a id="a34f4b434c5944357697a1daeb16cee21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34f4b434c5944357697a1daeb16cee21">&#9670;&nbsp;</a></span>setColumnType() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxSqlQueryModel::setColumnType </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QVariant::Type&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>format</em> = <code>QString()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Setzt den Datentyp der Spalte <em>column</em> auf den Typ <em>type</em>. </p>

</div>
</div>
<a id="a229795f1302a21d3d0d3cd645a176d59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a229795f1302a21d3d0d3cd645a176d59">&#9670;&nbsp;</a></span>setColumnType() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxSqlQueryModel::setColumnType </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QVariant::Type&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>format</em> = <code>QString()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Setzt den Datentyp der Spalte <em>column</em> auf den Typ <em>type</em>. </p>

</div>
</div>
<a id="a513a36c37805ea7ba007290064297f2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a513a36c37805ea7ba007290064297f2b">&#9670;&nbsp;</a></span>setData()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QxSqlQueryModel::setData </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em> = <code>Qt::EditRole</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Setzt die Daten zur Zelle <em>index</em> für die Rolle <em>role</em> auf den Wert <em>value</em>. </p>

</div>
</div>
<a id="a17e9495a29465a864673e32d94f1686b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17e9495a29465a864673e32d94f1686b">&#9670;&nbsp;</a></span>setHeaderData()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QxSqlQueryModel::setHeaderData </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>section</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Qt::Orientation&#160;</td>
          <td class="paramname"><em>orientation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em> = <code>Qt::EditRole</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Setzt die Kopfdaten zur Spalte <em>section</em> und der Rolle <em>role</em> auf den Wert <em>value</em>. </p>

</div>
</div>
<a id="a8f7ad29f6833861f473512249a01a9f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f7ad29f6833861f473512249a01a9f0">&#9670;&nbsp;</a></span>setQuery() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QxSqlQueryModel::setQuery </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>query</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Führt die in <em>query</em> angegebene Abfrage aus und übernimmt die Ergebnismenge.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a2c6a913dfb77c1a3cb75df4d4f9f64dc">setQuery(QSqlQuery &amp;query)</a> </dd>
<dd>
<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a84ddb01f86b69d6b8b321546b54a1fa7">lastError()</a> </dd></dl>

</div>
</div>
<a id="a2c6a913dfb77c1a3cb75df4d4f9f64dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c6a913dfb77c1a3cb75df4d4f9f64dc">&#9670;&nbsp;</a></span>setQuery() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QxSqlQueryModel::setQuery </td>
          <td>(</td>
          <td class="paramtype">QSqlQuery &amp;&#160;</td>
          <td class="paramname"><em>query</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Führt die in <em>query</em> angegebene Abfrage aus und übernimmt die Ergebnismenge.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a2c6a913dfb77c1a3cb75df4d4f9f64dc">setQuery(QSqlQuery &amp;query)</a> </dd>
<dd>
<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a84ddb01f86b69d6b8b321546b54a1fa7">lastError()</a> </dd></dl>

</div>
</div>
<a id="a7c11cc052939d07505e12dbd965c50fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c11cc052939d07505e12dbd965c50fd">&#9670;&nbsp;</a></span>setRecord()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QxSqlQueryModel::setRecord </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QSqlRecord &amp;&#160;</td>
          <td class="paramname"><em>values</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Aktualisiert den Datensatz an Position <em>row</em> mit den Daten von <em>values</em>. Die Änderungen werden dabei nicht in die Datenbank geschrieben (für die Aktualisierung der Datenbank ist der Aufrufer verantwortlich). </p>

</div>
</div>
<a id="ae562a0657cad4752b534ff6e9c7544c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae562a0657cad4752b534ff6e9c7544c4">&#9670;&nbsp;</a></span>setRelationValue() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxSqlQueryModel::setRelationValue </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Setzt den Relationswert für die Zelle <em>index</em> auf den Wert <em>value</em>.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#aa699fb68d62b74d2fc29856901b2e73b">setRelationValue(int row, int column, const QVariant &amp;value)</a> </dd>
<dd>
<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a5ace5ac8defb27d712f28b45f8de6bb6">setRelationValue(int row, const QString &amp;column, const QVariant &amp;value)</a> </dd></dl>

</div>
</div>
<a id="a5ace5ac8defb27d712f28b45f8de6bb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ace5ac8defb27d712f28b45f8de6bb6">&#9670;&nbsp;</a></span>setRelationValue() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxSqlQueryModel::setRelationValue </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Setzt den Relationswert für Zeile <em>row</em> und Spalte <em>column</em> auf den Wert <em>value</em>.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a5ace5ac8defb27d712f28b45f8de6bb6">setRelationValue(int row, const QString &amp;column, const QVariant &amp;value)</a> </dd>
<dd>
<a class="el" href="classcutex_1_1_qx_sql_query_model.html#ae562a0657cad4752b534ff6e9c7544c4">setRelationValue(const QModelIndex &amp;index, const QVariant &amp;value)</a> </dd></dl>

</div>
</div>
<a id="aa699fb68d62b74d2fc29856901b2e73b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa699fb68d62b74d2fc29856901b2e73b">&#9670;&nbsp;</a></span>setRelationValue() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxSqlQueryModel::setRelationValue </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Setzt den Relationswert für Zeile <em>row</em> und Spalte <em>column</em> auf den Wert <em>value</em>.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a8a17e4af971672c9166a45643ba1ee94">relationValue(int row, const QString &amp;column) const</a> </dd>
<dd>
<a class="el" href="classcutex_1_1_qx_sql_query_model.html#ab3c885ce42baad4a1015b3a54ae7a628">relationValue(const QModelIndex &amp;index) const</a> </dd></dl>

</div>
</div>
<a id="adb04e229b435597422b46a9f61fe7a53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb04e229b435597422b46a9f61fe7a53">&#9670;&nbsp;</a></span>setSqlRelation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QxSqlQueryModel::setSqlRelation </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QSqlRelation &amp;&#160;</td>
          <td class="paramname"><em>sqlRelation</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Setzt für die Spalte <em>column</em> die SQL-Relation <em>sqlRelation</em>. </p>

</div>
</div>
<a id="ad7a646981b3aa73f17db5d54121e6362"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7a646981b3aa73f17db5d54121e6362">&#9670;&nbsp;</a></span>value() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVariant QxSqlQueryModel::value </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt den Wert für die Zelle <em>index</em> zurück.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a492716b738841f59c7366e23ab60f1c8">value(int row, int column) const</a> </dd>
<dd>
<a class="el" href="classcutex_1_1_qx_sql_query_model.html#a2f0a4588667e5844412e839fa30d1b11">value(int row, const QString &amp;column) const</a> </dd></dl>

</div>
</div>
<a id="a2f0a4588667e5844412e839fa30d1b11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f0a4588667e5844412e839fa30d1b11">&#9670;&nbsp;</a></span>value() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVariant QxSqlQueryModel::value </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>column</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt den Wert in Zeile <em>row</em> und Spalte <em>column</em> zurück.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a492716b738841f59c7366e23ab60f1c8">value(int row, int column) const</a> </dd>
<dd>
<a class="el" href="classcutex_1_1_qx_sql_query_model.html#ad7a646981b3aa73f17db5d54121e6362">value(const QModelIndex &amp;index) const</a> </dd></dl>

</div>
</div>
<a id="a492716b738841f59c7366e23ab60f1c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a492716b738841f59c7366e23ab60f1c8">&#9670;&nbsp;</a></span>value() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVariant QxSqlQueryModel::value </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt den Wert in Zeile <em>row</em> und Spalte <em>column</em> zurück.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_sql_query_model.html#a2f0a4588667e5844412e839fa30d1b11">value(int row, const QString &amp;column) const</a> </dd>
<dd>
<a class="el" href="classcutex_1_1_qx_sql_query_model.html#ad7a646981b3aa73f17db5d54121e6362">value(const QModelIndex &amp;index) const</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>cutex</b></li><li class="navelem"><a class="el" href="classcutex_1_1_qx_sql_query_model.html">QxSqlQueryModel</a></li>
    <li class="footer">Erzeugt von <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
